import request from '@/utils/request'

export const getConsultList = async (data) => {
    return await request.get('/history', {params: data})
}

export const sendMessage = async (data) => {
    return await request.post('/send', data)
}

export const getPsychologistList = async (data) => {
    return await request.get('/psychologicalNews/page', {params: data})
}
